@extends('Admin.base')
@section('css')
    <style type="text/css">

        .layui-card-body{
            text-align:center;
            font-weight:700
       }
    </style>

@endsection
@section('content')
    {{--<div class="layui-card">--}}
        {{--<div class="layui-card-body">--}}
            {{--<blockquote class="layui-elem-quote" style="margin-top: 10px;">--}}
            {{--<div>欢迎【{{$data->realname}}】，登录系统！</div>--}}
            {{--</blockquote>--}}
            <h3>用户概览</h3>
            <div style="padding: 20px; background-color: #F2F2F2;">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>用户数量</h3>
                                {{$user['usernum']}}<br>
                                昨日新增{{$user['addusernum'] }}
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>会员数量</h3>
                                {{$user['vipnum']}}<br>
                                昨日新增{{$user['addvipnum']}}
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <h3>订单概览</h3>
            <div style="padding: 20px; background-color: #F2F2F2;">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>待付款</h3>
                                <br>{{$order['wait_pay']}}
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>待发货</h3>
                                <br>{{$order['wait_deliver']}}
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>待取货</h3>
                                <br>{{$order['wait_get']}}
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>申请售后</h3>
                                <br>{{$order['after']}}
                            </div>
                        </div>
                    </div>
                </div>

            </div>

            <h3>线上商品预览</h3>
            <div style="padding: 20px; background-color: #F2F2F2;">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>在售商品</h3>
                                <br>{{$goods['open']}}
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md2">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <h3>已售罄商品</h3>
                                <br>{{$goods['out']}}
                            </div>
                        </div>
                    </div>
                </div>
            </div>


        {{--</div>--}}
    {{--</div>--}}
@endsection


